#ifndef ERROR_H_INCLUDED
#define ERROR_H_INCLUDED

#include <string>

enum ErrorNum { SUCCESS, ERR_FILE_LOAD, ERR_UNKNOWN, ERR_INVALID_NUMBER, ERR_UNKOWN_TOKEN, \
                ERR_INVALID_KEYWORD, ERR_EXPECTED_SYMBOL, ERR_INVALID_VARTYPE, ERR_EXPECTED_EOSS, \
                ERR_INVALID_TOKEN_COUNT, ERR_DUP_IDENTIFIER, ERR_INVALID_IDENT, ERR_CUSTOM, \
                ERR_IDENT_MISMATCH, ERR_IDENT_UNINIT, ERR_EXPECTED_EXPR, ERR_EXPECTED_IDENT };

void errorMessage(ErrorNum err, const std::string& var, int nLine);

#endif // ERROR_H_INCLUDED
